package com.ruoyi.project.module.km.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 卡密表 yz_km
 * 
 * @author ruoyi
 * @date 2018-11-15
 */
public class Km extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 生成的卡密 */
	private String km;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setKm(String km) 
	{
		this.km = km;
	}

	public String getKm() 
	{
		return km;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("km", getKm())
            .toString();
    }
}
